package com.phiture.erp.basic.core.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author YH
 * @date 2025/4/2
 */

@Schema(description = "管理后台 - 物料采购属性新增/修改 Request DTO")
@Data
public class ErpMaterialPurchasingSaveReqDTO {
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4729")
    private Long id;

    @Schema(description = "采购资料状态(0:未核准 1:核准 2:禁用 3:已删除)", example = "2")
    private Integer status;

    @Schema(description = "物料", example = "6428")
    private Long materialId;

    @Schema(description = "采购员", example = "26161")
    private Long purPersonId;

    @Schema(description = "供应商", example = "5268")
    private Long supplierId;

    @Schema(description = "产地")
    private String producingArea;

    @Schema(description = "生产厂家")
    private String produceFactory;

    @Schema(description = "参考单价", example = "268")
    private BigDecimal price;

    @Schema(description = "最高限价")
    private BigDecimal priceTop;

    @Schema(description = "收货可提前天数")
    private Integer daydAhead;

    @Schema(description = "指定采购组织", example = "26690")
    private Long appointPurOrgId;

    @Schema(description = "采购检验(0:不检验 1:抽检 2:全检)")
    private Integer purchaseCheckType;

    @Schema(description = "采购组")
    private String purGroup;
}
